package com.zhongli.devplatform.vo.common;

import com.zhongli.devplatform.vo.ReplyVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author wy
 * @since 2020/8/24
 */
@Data
@ApiModel
public class CommentReplyVO {


    @ApiModelProperty(name = "id",value = "评论id")
    private Integer id;

    @ApiModelProperty(name = "userId",value = "当前用户id，不需要传参")
    private Integer userId;

    @ApiModelProperty(name = "userName",value = "当前用户名")
    private String userName;

    @ApiModelProperty(name = "headImgUrl",value = "头像")
    private String headImgUrl;

    @ApiModelProperty(name = "comment",value = "评论类容")
    private String comment;

    @ApiModelProperty(name = "createTime",value = "评论时间，不需要传参")
    private Date createTime;

    @ApiModelProperty(name = "commonCount",value = "评论数")
    private Integer commentCount;

    @ApiModelProperty(name = "likeCount",value = "点赞数")
    private Integer likeCount;

    @ApiModelProperty(name = "isLike",value = "是否点赞")
    private Boolean isLike;

    @ApiModelProperty(name = "reply",value = "回复内容")
    private List<ReplyVO> reply;

}
